import { get, post } from './http';

/**
 * @param {Base} [Base Api]
 */
export const base = {
	getUserNameZJC2(res) {
		return post(process.env.API_HOST + 'user/userNameZjc', res);
	},
	/**
	 * 获取凭证
	 * @param {GET} Method [请求的类型]
	 */
	getCredentials(res) {
		return get(process.env.API_HOST + 'support/rsa', res);
	},
}